<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%    
String path = request.getContextPath();    
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";    
pageContext.setAttribute("basePath",basePath);    
%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" id="viewport" content="width=device-width, initial-scale=1">
    <link href="<%=basePath%>resources/css/style.css" type="text/css" rel="stylesheet">
    <link href="<%=basePath%>resources/css/sweet-alert.css" type="text/css" 	rel="stylesheet">
    <link rel="shortcut icon" href="<%=basePath%>resources/images/favicon.ico" type="image/x-icon" />  
    <script src="<%=basePath%>resources/js/jquery-1.9.1.min.js"></script>
    <script src="<%=basePath%>resources/js/sweet-alert.js"></script>
    <title>创辉医疗监测Login</title>
</head>
<body>
<div id="login_bg">
<div id="login_logoDiv">
    <img src="<%=basePath%>resources/images/Logo_1.png" style="width: 30%">
    <h1>创辉温湿度监测</h1>
</div>
    <form id="login_form" method="post" name="login_form">
<!--         <label>用户名：</label> -->
        <input type="text" id="userName" class="input" name ='userName' placeholder="请输入用户名"><br>
       <!--  <label style="font-family: '宋体'">密&nbsp;码：</label> -->
        <input type="password" id="password" class="input" name = 'password'  placeholder="请输入密码"><br>
        <input id="inputCode"  type="text" class="gradient" placeholder="验证码"/>
        <span id="code" class="mycode"></span>
        <input type="button" value="登录" class="submit" id="submit">
    </form>
</div>
</body>
<script src="<%=basePath%>resources/js/login/KinerCode.js"></script>
<script src="<%=basePath%>resources/js/login/login.js"></script>
<script src="<%=basePath%>resources/js/jquery.md5.js"></script>
</html>
